<?php

class ActionEvent extends AppModel{
    
    public $validate = array(
        'title' => array(
            'alphaNumeric' => array(
                'rule'     => 'alphaNumeric',
                'required' => true,
                'message' => 'Chiffres et lettres uniquement !'
            ),
            'between' => array(
                'rule'    => array('between', 3, 15),
                'message' => 'Entre 3 et 15 caractères'
            )
        )
    );
}
?>
